// menu.json

//NOTMN 是否为menu true不加载到menu中, 没有该字段或为false加载到menu中

export const menu = [

  {
    path: '/layout',
    redirect: '/home',
    NOTMN:true,
    component: 'layout',
    children:[
      {
        path: '/home',
        component: 'home'
      },
      {
        path: '/404',
        NOTMN:true,
        meta: { title: 'NotFonud' },
        component: 'notFonud'
      }
    ]
  },
  {
    path: '/Vue',
    icon:'el-icon-s-promotion',
    meta: { title: 'Vue' },
    redirect: '/Mixin',
    component: 'layout',
    children:[
      {
        path: '/Mixin',
        meta: { title: 'Mixin' },
        component: 'Mixin',
      },
      {
        path: '/keepAlive',
        meta: { title: 'KeepAlive' },
        component: 'keepAlive',
      },
      {
        path: '/nextTick',
        meta: { title: 'NextTick' },
        component: 'nextTick',
      },
      {
        path: '/Vuex',
        meta: { title: 'Vuex' },
        component: 'Vuex',
      }
    ]
  },
  {
    path: '/Form',
    icon:'el-icon-s-data',
    meta: { title: '数据相关' },
    redirect: '/VueEditor',
    component: 'layout',
    children:[
      {
        path: '/VueEditor',
        meta: { title: '富文本编辑' },
        component: 'VueEditor',
      },
      {
        path: '/MarkDown',
        meta: { title: 'Markdown编辑器' },
        component: 'MarkDown',
      }
    ]
  },
  {
    path: '/notFonud',
    icon:'el-icon-news',
    meta: { title: '404' },
    redirect:'/404'
  },
]
